const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://106.53.70.21:5656', // 你的目标服务器地址
        changeOrigin: true,
        secure: false, // 是否https接口
        pathRewrite: {
          '^/api': '/api'
        }
      }
    }
  }
})
